// zh.js
export default {
  common: {
    inputPlaceholder: 'Please input',
    selectPlaceholder: 'Please select',
    search: 'Search',
    view: 'View',
    clear: 'Clear',
    edit: 'Edit',
    remove: 'Delete',
    optional: 'Actions',
    add: 'Add',
    importFile: 'Import',
    exportFile: 'Export',
    batchDelete: 'Batch Delete',
    deleteTip: 'Are you sure to delete the selected data?',
    deleteTreeTip:
      'The selected menu has sub-menus and cannot be deleted. Are you sure to delete the selected data?',
    operateSuccess: 'Operation successful',
    chooseDeleteItem: 'Please select items to delete',
    permissionAssign: 'Permission Assignment',
    createTime: 'Create Time',
    updateTime: 'Update Time',
    status: 'Status',
    deploy: 'Deploy',
    manageOptions: 'Manage Options',
    save: 'Save',
    saveSuccess: 'Save successful',
    saveFailed: 'Save failed',
    deleteSuccess: 'Delete successful',
    deleteFailed: 'Delete failed',
    batchDeleteSuccess: 'Batch delete successful',
    batchDeleteFailed: 'Batch delete failed',
    importSuccess: 'Import successful',
    importFailed: 'Import failed',
    exportSuccess: 'Export successful',
    exportFailed: 'Export failed',
    downloadSuccess: 'Download successful',
    downloadFailed: 'Download failed',
    uploadSuccess: 'Upload successful',
    confirm: 'Confirm',
    close: 'Close',
    cancel: 'Cancel'
  },
  login: {
    login: 'Login',
    username: 'Username',
    password: 'Password',
    captcha: 'Captcha',
    usernameInputPlaceholder: 'Please input username',
    passwordInputPlaceholder: 'Please input password',
    captchaInputPlaceholder: 'Please input captcha',
    btn: 'Login',
    passwordInputLengthError:
      'The number of characters in the password must be between 6 and 32 characters',
    logout: 'Logout',
    loginSuccess: 'Login successful',
    logoutSuccess: 'Logout successful'
  },
  user: {
    columns: {
      username: 'Username',
      realName: 'Real Name',
      nickName: 'Nickname',
      email: 'Email',
      mobileNo: 'Mobile Number',
      createTime: 'Create Time',
      updateTime: 'Update Time',
      expirationTime: 'Expiration Time',
      descn: 'Description',
      status: 'Status',
      roles: 'Roles'
    }
  },
  role: {
    columns: {
      code: 'Code',
      name: 'Name',
      type: 'Type',
      descn: 'Description'
    }
  },
  menu: {
    columns: {
      parentId: 'Parent Menu',
      title: 'Name',
      icon: 'Icon',
      redirectUrl: 'Redirect URL',
      code: 'Code',
      path: 'Path',
      component: 'Component',
      hidden: 'Hidden',
      activeMenu: 'Active Menu',
      type: 'Type',
      status: 'Status'
    }
  },
  dict: {
    columns: {
      dictName: 'Dictionary Name',
      dictType: 'Dictionary Type',
      remark: 'Remark',
      dictItemLabel: 'Dictionary Item Label',
      dictItemValue: 'Dictionary Item Value',
      dictDefault: 'Default Value',
      dictSort: 'Sort'
    },
    actions: {
      manageDictItem: 'Manage Dictionary Items'
    }
  },
  config: {
    columns: {
      name: 'Configuration Name',
      code: 'Configuration Code',
      value: 'Configuration Value',
      comments: 'Comments'
    }
  },
  code: {
    columns: {
      name: 'Configuration Name',
      code: 'Configuration Code',
      comments: 'Comments',
      pid: 'Parent Code'
    }
  },
  workflow: {
    list: 'Workflow Management',
    definition: 'Process Definition Management',
    instance: 'Process Instance Management',
    task: 'Task Management',
    history: 'History Management',
    processDefinition: {
      title: 'Process Definition Management',
      columns: {
        key: 'Process Key',
        processDefinitionName: 'Process Definition Name',
        version: 'Version',
        source: 'Source',
        resourceName: 'Resource File',
        deploymentTime: 'Deployment Time',
        processDefinitionKey: 'Process Definition Key',
        businessKey: 'Business Key',
        variables: 'Process Variables'
      },
      actions: {
        start: 'Start Process',
        view: 'View Process Diagram',
        download: 'Download Process File',
        delete: 'Delete Process',
        import: 'Import Process',
        batchDelete: 'Batch Delete'
      },
      messages: {
        importSuccess: 'Process import successful',
        importFailed: 'Process import failed',
        downloadFailed: 'Process file download failed',
        viewFailed: 'Process diagram loading failed',
        deleteSuccess: 'Process deleted successfully',
        deleteFailed: 'Process deletion failed',
        batchDeleteSuccess: 'Batch deletion successful',
        batchDeleteFailed: 'Batch deletion failed'
      }
    }
  }
}
